namespace Hearthbuddy.Controls
{
	/// <summary>
	/// Implements a "menu button" for Silverlight and WPF.
	/// </summary>
	public class MenuButton : SplitButton
	{
		/// <summary>
		/// Initializes a new instance of the MenuButton class.
		/// </summary>
		public MenuButton()
		{
			base.DefaultStyleKey = typeof(MenuButton);
		}

		/// <summary>
		/// Called when the button is clicked.
		/// </summary>
		protected override void OnClick()
		{
			OpenButtonMenu();
		}
	}
}
